# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=index-fm
pkgver=3.0.1
pkgrel=1
pkgdesc='Multi-platform file manager'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(GPL3)
depends=(mauikit-filebrowsing hicolor-icon-theme)
makedepends=(extra-cmake-modules)
groups=(maui)
source=(https://download.kde.org/stable/maui/index/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('c9562c68a08d5c88b86e9ff210cc3da5067fe53d81fc4c6e67f8d28517b0d110')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
